package com.guage.model;
import com.guage.commons.result.PageInfo;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import java.util.Date;
import com.baomidou.mybatisplus.enums.IdType;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 图片素材
 * </p>
 *
 * @author dechao.yang
 * @since 2017-12-14
 */
@TableName("shop_images")
public class ShopImages extends Model<ShopImages> {

    private static final long serialVersionUID = 1L;

    /**
     * 图片编号
     */
	@TableId(value="image_id", type= IdType.AUTO)
	private Long imageId;
    /**
     * 图片名称
     */
	@TableField("image_name")
	private String imageName;
    /**
     * 图片大小
     */
	@TableField("image_size")
	private Double imageSize;
    /**
     * 图片地址
     */
	@TableField("image_url")
	private String imageUrl;
    /**
     * 上传时间
     */
	@TableField("create_time")
	private Date createTime;
    /**
     * 上传人编号
     */
	@TableField("create_user_id")
	private Long createUserId;
    /**
     * 图片描述
     */
	@TableField("image_content")
	private String imageContent;
    /**
     * 图片状态(0:无效，1：有效：2：删除)
     */
	@TableField("image_status")
	private Integer imageStatus;
	@TableField("update_time")
	private Date updateTime;
    /**
     * 图片类型
     */
	@TableField("image_type")
	private Integer imageType;


	public Long getImageId() {
		return imageId;
	}

	public void setImageId(Long imageId) {
		this.imageId = imageId;
	}

	public String getImageName() {
		return imageName;
	}

	public void setImageName(String imageName) {
		this.imageName = imageName;
	}

	public Double getImageSize() {
		return imageSize;
	}

	public void setImageSize(Double imageSize) {
		this.imageSize = imageSize;
	}

	public String getImageUrl() {
		return imageUrl;
	}

	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}

	public Date getCreateTime() {
		return createTime;
	}

	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Long getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Long createUserId) {
		this.createUserId = createUserId;
	}

	public String getImageContent() {
		return imageContent;
	}

	public void setImageContent(String imageContent) {
		this.imageContent = imageContent;
	}

	public Integer getImageStatus() {
		return imageStatus;
	}

	public void setImageStatus(Integer imageStatus) {
		this.imageStatus = imageStatus;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}

	public Integer getImageType() {
		return imageType;
	}

	public void setImageType(Integer imageType) {
		this.imageType = imageType;
	}

	@Override
	protected Serializable pkVal() {
		return this.imageId;
	}

}
